import matplotlib.pyplot as plt
score = [11,55,78,91,54,45,32,1,69,150,86,21,31,63,9,64,52,85,68,67,62,34,111,88,66,44,55,98,97,42,49,77,36,58,41,131,]
plt.rcParams['font.sans-serif']=['simHei']
plt.xlabel('分数')
plt.ylabel('学生数量')
plt.title('学生语文成绩分布直方图')
plt.hist(score,bins=range(0,150,10),facecolor='red',edgecolor='black')
plt.show()